package com.example.a2032.net.jstylenet;

import java.util.List;

/**
 * 手表返回给服务器的实时测量数据
 */
public class ServiceRealTimeData {

    /**
     * state : 1
     * hr : 70
     * sbp : 120
     * dbp : 120
     */

    //1： 测量中
    //
    //2：测量结束(数据给默认值 0或空数组)
    //
    //3：不能测，手表正忙(数据给默认值 0或空数组)
    private int state;
    private int hr;
    private int sbp;
    private int dbp;

    private List<Integer> ecg;



    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getHr() {
        return hr;
    }

    public void setHr(int hr) {
        this.hr = hr;
    }

    public int getSbp() {
        return sbp;
    }

    public void setSbp(int sbp) {
        this.sbp = sbp;
    }

    public int getDbp() {
        return dbp;
    }

    public void setDbp(int dbp) {
        this.dbp = dbp;
    }

    public List<Integer> getEcg() {
        return ecg;
    }

    public void setEcg(List<Integer> ecg) {
        this.ecg = ecg;
    }
}
